package com.zhuzi.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

import com.zhuzi.demo.config.DBConfig1;
import com.zhuzi.demo.config.DBConfig2;

@SpringBootApplication
@EnableConfigurationProperties(value= {DBConfig1.class,DBConfig2.class})
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}